<template>
  <div class="cpn">
    <el-button @click="confirmClick('海口 1519 弄')"
      >确认('海口 1519 弄')</el-button
    >
    <el-button @click="clearClick()">取消</el-button>
  </div>
</template>

<script>
export default {
  inject: ["updateFilter", "closePopover", "updateValue"],
  methods: {
    clearClick() {
      this.updateFilter();
      this.updateValue();
      this.closePopover();
    },
    confirmClick(e) {
      this.updateFilter(e);
      this.updateValue(e);
      this.closePopover();
    },
  },
};
</script>
<style scoped>
.cpn {
}
</style>
